/**
 * 
 */
package de.tuhh.simsearch.junit;

import javax.persistence.EntityManager;
import javax.persistence.Persistence;

/**
 * @author sim-search
 * 
 */
public class Utilities {

	public static EntityManager getEntityManager() {

		return Persistence.createEntityManagerFactory(
				"SimilaritySearchEJB_junit").createEntityManager();
	}

	public static EntityManager getContentEntityManager() {

		return Persistence.createEntityManagerFactory(
				"SimilaritySearchContent_junit").createEntityManager();
	}

}
